* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-size: 14px;
}
a {
    text-decoration: none;
}
.card{
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
}
.line1{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.line2{
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;/* 超出两行省略*/
    overflow: hidden;
}
@media screen and (min-width: 1600px) {
    .container { max-width: 1400px; }
  }
  @media (max-width: 1200px) {
    .main-container {
      grid-template-columns: 1fr !important;
    }
    .sidebar {
      width: 100% !important;
      margin-top: 30px;
    }
  }